package com.patterns.demo.observer.second;

import com.patterns.demo.observer.second.Kid;

/**
 * Author: SamGroves
 * <p>
 * Description: 小孩发出哭声的大小
 * <p>
 * Date: 2018/1/29
 */
public class WakeUpEvent {

    private int voice;
    private Kid kid;

    public WakeUpEvent(int voice, Kid kid) {
        this.voice = voice;
        this.kid = kid;
    }

    public Kid getKid() {
        return kid;
    }

    public int getVoice() {
        return voice;
    }
}
